<script setup name="Child">
defineProps({
  modelValue: Number,
  num: Number,
})
</script>
<template>
  <div>
    <div>Child: {{ modelValue }} {{ num }}</div>
    <button @click="$emit('update:modelValue', 8)">update parent count</button>
    <button @click="$emit('update:num', 8888)">update parent num</button>
  </div>
</template>
